<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : Vendas
    Created on : 29/10/2009, 16:04:03
    Author     : Administrador
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./resources/camposDesabilitados.css" id="outputStyle3"/>
                <ice:outputStyle href="./xmlhttp/css/xp/xp.css" id="outputStyle2"/>
                <script>
                   function hidden(){
                  document.body.style.overflow='hidden';
               }
               function mascara(o,f){
                    v_obj=o;
                    v_fun=f;
                    setTimeout("execmascara()",1);
                  }
                  /* Função para executar a mascara */
                  function execmascara(){
                    v_obj.value=v_fun(v_obj.value);
                  }
                  function mvalor(v){
                    v=v.replace(/\D/g,"");//Remove tudo o que não é dígito
                    v=v.replace(/(\d)(\d{2})$/,"$1.$2");//coloca a virgula antes dos 2 últimos dígitos
                    return v;
                  }
                </script>
                <title>Gerenciamento de Vendas</title>
            </ice:outputHead>
            <body onload="hidden();">
                <ice:outputBody id="outoutBody1" style="-rave-layout: grid">
                    <ice:form id="form1">
                        <ice:panelPopup autoCentre="true" binding="#{Vendas$Vendas.painelSair}" draggable="true" id="painelSair" modal="true"
                            rendered="#{Vendas$Vendas.panelPopup1Bean.showDraggablePanel}"
                            style="height: 210px; left: 120px; top: 384px; position: absolute; width: 405px" visible="#{Vendas$Vendas.panelPopup1Bean.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid binding="#{Vendas$Vendas.painelSairCabecalho}" id="painelSairCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="painelSairTitulo" value="  Sair"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelSairCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText binding="#{Vendas$Vendas.msgPainelSair}" id="msgPainelSair"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Tem certeza que deseja sair dessa tela?"/>
                                    <ice:commandButton action="#{Vendas$Vendas.botaoSairSim_action}" binding="#{Vendas$Vendas.botaoSairSim}" id="botaoSairSim"
                                        image="/resources/botaoSim.png" immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 30%; top: 55%; position: absolute" value="Sim"/>
                                    <ice:commandButton action="#{Vendas$Vendas.botaoSairNao_action}" binding="#{Vendas$Vendas.botaoSairNao}" id="botaoSairNao"
                                        image="/resources/botaoNao.png" immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 30%; top: 55%; position: absolute" value="Não"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Vendas$Vendas.painelMensagem}" draggable="false" id="painelMensagem" modal="true"
                            rendered="#{Vendas$Vendas.panelPopup1Bean1.showDraggablePanel}"
                            style="height: 210px; left: 120px; top: 420px; position: absolute; width: 405px" visible="#{Vendas$Vendas.panelPopup1Bean1.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelMensagemCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelMensagem" value="Atenção"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelMensagemCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText binding="#{Vendas$Vendas.msgMensagemOperacao}" id="msgMensagemOperacao"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Obrigado Por Utilizar Nossos Serviços"/>
                                    <ice:commandButton action="#{Vendas$Vendas.botaoMensagemOk_action}" id="botaoMensagemOk" image="/resources/botaoOk.png"
                                        immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 45%; top: 70%; position: absolute" value="Ok"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Vendas$Vendas.painelConsulta}" draggable="false" id="painelConsulta" modal="true"
                            rendered="#{Vendas$Vendas.panelPopup1Bean2.showDraggablePanel}"
                            style="height: 210px; left: 120px; top: 384px; position: absolute; width: 405px" visible="#{Vendas$Vendas.panelPopup1Bean2.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelConsultaCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelConsulta" value="Consulta Nota"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelConsultaCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgConsultaTitulo"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 0px; position: absolute; text-align: center; width: 357px" value="Selecione a Venda:"/>
                                    <ice:commandButton action="#{Vendas$Vendas.botaoConsultaOk_action}" id="botaoConsultaOk" image="/resources/botaoOk.png"
                                        immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 25%; top: 65%; position: absolute" value="Ok"/>
                                    <ice:commandButton action="#{Vendas$Vendas.botaoConsultaCancelar_action}" id="botaoConsultaCancelar"
                                        image="/resources/botaoCancelar.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 25%; top: 65%; position: absolute" value="Cancelar"/>
                                    <ice:outputText id="labelEmpresaConsulta"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 0px; top: 48px; position: absolute; text-align: right; width: 93px" value="Empresa:"/>
                                    <ice:outputText id="labelDataConsulta"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 0px; top: 72px; position: absolute; text-align: right; width: 93px" value="Data:"/>
                                    <ice:selectOneMenu binding="#{Vendas$Vendas.comboEmpresaConsulta}" id="comboEmpresaConsulta" immediate="true"
                                        partialSubmit="true"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 94px; top: 46px; position: absolute; width: 230px"
                                        value="#{Vendas$Vendas.empresaConsultaSelecionada.selectedObject}" valueChangeListener="#{Vendas$Vendas.comboEmpresaConsulta_processValueChange}">
                                        <f:selectItems id="selectOneMenu1selectItems2" value="#{Vendas$Vendas.empresasConsulta}"/>
                                    </ice:selectOneMenu>
                                    <ice:selectOneMenu binding="#{Vendas$Vendas.comboDataConsulta}" id="comboDataConsulta" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 94px; top: 70px; position: absolute; width: 230px" value="#{Vendas$Vendas.dataConsultaSelecionada.selectedObject}">
                                        <f:selectItems id="selectOneMenu1selectItems4" value="#{Vendas$Vendas.datasSelecionada}"/>
                                    </ice:selectOneMenu>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelGroup dragListener="#{Vendas$Vendas.painelGeral_processMyEvent}" id="painelGeral" style="height: 768px; margin-left: -512px; left: 50%; top: 0px; position: absolute; width: 1024px">
                            <ice:graphicImage id="imagemFundo"
                                style="height: 768px; margin-left: -512px; left: 50%; top: 0px; position: absolute; width: 1024px" url="/resources/telaVendas.jpg"/>
                            <ice:panelLayout id="painelConteudo" layout="flow" style="font-family: 'Courier New',Courier,monospace; font-size: 14px; height: 620px; left: 2%; top: 12%; position: absolute; width: 980px; -rave-layout: grid">
                                <ice:outputText id="labelPesoCaixa"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 408px; top: 96px; position: absolute; text-align: right; width: 143px" value="Peso Caixa:"/>
                                <ice:outputText id="labelValorVenda"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 360px; top: 528px; position: absolute; text-align: right; width: 190px" value="Valor Venda:"/>
                                <ice:outputText id="labelValorTotalVenda"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 360px; top: 576px; position: absolute; text-align: right; width: 190px" value="Valor Venda Total:"/>
                                <ice:outputText id="labelValorUnitario"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 408px; top: 120px; position: absolute; text-align: right; width: 143px" value="Valor Unitário:"/>
                                <ice:outputText id="labelValorComissao"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 408px; top: 144px; position: absolute; text-align: right; width: 143px" value="Valor Comissão:"/>
                                <ice:outputText id="labelValorTotalComissao"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 360px; top: 552px; position: absolute; text-align: right; width: 190px" value="Valor Total Comissão:"/>
                                <ice:outputText id="labelData"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 0px; top: 96px; position: absolute; text-align: right; width: 117px" value="Data:"/>
                                <ice:outputText id="labelEmpresa"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 0px; top: 72px; position: absolute; text-align: right; width: 117px" value="Empresa:"/>
                                <ice:outputText id="labelQuantidadeCaixas"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 408px; top: 72px; position: absolute; text-align: right; width: 143px" value="Quantidade:"/>
                                <ice:outputText id="labelCaixas"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 792px; top: 72px; position: absolute; text-align: left; width: 45px" value="Cxs"/>
                                <ice:outputText id="labelKg"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 792px; top: 96px; position: absolute; text-align: right; width: 22px" value="Kg"/>
                                <ice:selectOneMenu binding="#{Vendas$Vendas.comboEmpresa}" id="comboEmpresa" immediate="true" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; left: 118px; top: 72px; position: absolute; width: 230px"
                                    title="Selecione uma Empresa." value="#{Vendas$Vendas.empresaSelecionada.selectedObject}" valueChangeListener="#{Vendas$Vendas.comboEmpresa_processValueChange}">
                                    <f:selectItems id="selectOneMenu1selectItems" value="#{Vendas$Vendas.empresas}"/>
                                </ice:selectOneMenu>
                                <ice:selectOneMenu binding="#{Vendas$Vendas.comboData}" id="comboData" immediate="true" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; left: 118px; top: 96px; position: absolute; width: 230px"
                                    title="Selecione a Data da Venda." value="#{Vendas$Vendas.dataSelecionada.selectedObject}" valueChangeListener="#{Vendas$Vendas.comboData_processValueChange}">
                                    <f:selectItems id="selectOneMenu1selectItems1" value="#{Vendas$Vendas.datas}"/>
                                </ice:selectOneMenu>
                                <ice:dataTable binding="#{Vendas$Vendas.dataTable1}" id="dataTable1" rows="9" style="left: 0px; top: 182px; position: absolute"
                                    value="#{Vendas$Vendas.dataTable1Model}" var="item" width="330">
                                    <ice:column id="column1">
                                        <h:commandLink action="#{Vendas$Vendas.selecionaProduto}" id="linkAction1" value="#{item.itemPrevisao.previsao.associado.nome}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoAssociado" title="Nome do Associado." value="Associado"/>
                                        </f:facet>
                                    </ice:column>
                                    <ice:column id="column2">
                                        <h:commandLink action="#{Vendas$Vendas.selecionaProduto}" id="linkAction2" value="#{item.itemPedidoEmpresa.produto.variedade.nome}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoVariedade" title="Variedade do Produto." value="Var."/>
                                        </f:facet>
                                    </ice:column>
                                    <ice:column binding="#{Vendas$Vendas.column3}" id="column3" style="height: 23px">
                                        <h:commandLink action="#{Vendas$Vendas.selecionaProduto}" id="linkAction3" value="#{item.itemPedidoEmpresa.produto.classificacao.nome}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoCategoria" title="Categoria do Produto." value="Classf."/>
                                        </f:facet>
                                    </ice:column>
                                    <ice:column binding="#{Vendas$Vendas.column4}" id="column4">
                                        <h:commandLink action="#{Vendas$Vendas.selecionaProduto}" id="linkAction4" value="#{item.quantidadeAuxiliar}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoNulo" title="Nulo." value="Qntd(Kg)"/>
                                        </f:facet>
                                    </ice:column>
                                </ice:dataTable>
                                <!-- Paginator da tabela de consulta-->
                                <ice:dataPaginator fastStep="3" for="dataTable1" id="dataPaginatorTable1" paginator="true" paginatorMaxPages="5" style="left: 60px; top: 158px; position: absolute">
                                    <f:facet name="first">
                                        <ice:graphicImage style="border:none;" title="Primeira Página" url="./xmlhttp/css/xp/css-images/arrow-first.gif"/>
                                    </f:facet>
                                    <f:facet name="last">
                                        <ice:graphicImage style="border:none;" title="Última Página" url="./xmlhttp/css/xp/css-images/arrow-last.gif"/>
                                    </f:facet>
                                    <f:facet name="previous">
                                        <ice:graphicImage style="border:none;" title="Página Anterior" url="./xmlhttp/css/xp/css-images/arrow-previous.gif"/>
                                    </f:facet>
                                    <f:facet name="next">
                                        <ice:graphicImage style="border:none;" title="Próxima Página" url="./xmlhttp/css/xp/css-images/arrow-next.gif"/>
                                    </f:facet>
                                    <f:facet name="fastforward">
                                        <ice:graphicImage style="border:none;" title="Fast Forward" url="./xmlhttp/css/xp/css-images/arrow-ff.gif"/>
                                    </f:facet>
                                    <f:facet name="fastrewind">
                                        <ice:graphicImage style="border:none;" title="Fast Backwards" url="./xmlhttp/css/xp/css-images/arrow-fr.gif"/>
                                    </f:facet>
                                </ice:dataPaginator>
                                <ice:inputText binding="#{Vendas$Vendas.campoQuantidade}" id="campoQuantidade" immediate="true" maxlength="5"
                                    partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; left: 550px; top: 72px; position: absolute; width: 230px"
                                    title="Insira a Quantidade de Caixas." value="#{ItemPedidoAssociado.quantidadeCaixa}" valueChangeListener="#{Vendas$Vendas.campoQuantidade_processValueChange}"/>
                                <ice:inputText binding="#{Vendas$Vendas.campoPesoCaixa}" converter="#{Vendas$Vendas.doubleConverter1}" id="campoPesoCaixa"
                                    maxlength="7" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 550px; top: 96px; position: absolute; width: 230px"
                                    title="Insira o Peso da Caixa." value="#{ItemPedidoEmpresa.pesoCaixa}"/>
                                <ice:inputText action="#{Vendas$Vendas.campoValorUnitario_action}" binding="#{Vendas$Vendas.campoValorUnitario}"
                                    converter="#{Vendas$Vendas.doubleConverter1}" id="campoValorUnitario" maxlength="7" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 550px; top: 120px; position: absolute; width: 230px"
                                    title="Insira o Valor de Cada Caixa." value="#{ItemPedidoAssociado.precoUnitario}"/>
                                <ice:inputText binding="#{Vendas$Vendas.campoValorComissao}" id="campoValorComissao" maxlength="10"
                                    onkeypress="mascara(this,mvalor);" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 550px; top: 144px; position: absolute; width: 230px"
                                    title="Insira o Valor da Comissão." validator="#{Vendas$Vendas.campoValorComissao_validate}"
                                    value="#{ItemPedidoAssociado.comissao}" valueChangeListener="#{Vendas$Vendas.campoValorComissao_processValueChange}"/>
                                <ice:commandButton action="#{Vendas$Vendas.botaoIncluir_action}" alt="Sair" binding="#{Vendas$Vendas.botaoIncluir}"
                                    id="botaoIncluir" image="/resources/botaoAdicionarVertical.jpg" immediate="true" partialSubmit="true"
                                    style="height: 45px; left: 816px; top: 120px; position: absolute; width: 64px" title="Sair" value="Sair"/>
                                <ice:dataTable binding="#{Vendas$Vendas.tabelaVenda}" id="tabelaVenda" rows="5"
                                    style="right: 0px; top: 210px; position: absolute" value="#{Vendas$Vendas.dataTable3Model}" var="item" width="505">
                                    <ice:column id="column10" style="width: 84px">
                                        <h:commandLink id="linkAction5" value="#{item.itemPedidoAssociado.itemPrevisao.previsao.associado.nome}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="outputText7" value="Associado"/>
                                        </f:facet>
                                    </ice:column>
                                    <f:facet name="header"/>
                                    <ice:column id="column5">
                                        <h:commandLink id="linkAction6" value="#{item.itemPedidoAssociado.itemPedidoEmpresa.produto.variedade.nome}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoVariedade1" title="Variedade do Produto." value="Variedade"/>
                                        </f:facet>
                                    </ice:column>
                                    <f:facet name="header"/>
                                    <ice:column id="column6">
                                        <h:commandLink id="linkAction7" value="#{item.itemPedidoAssociado.itemPedidoEmpresa.produto.classificacao.nome}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoCategoria1" title="Categoria do Produto." value="Categoria"/>
                                        </f:facet>
                                    </ice:column>
                                    <f:facet name="header"/>
                                    <ice:column id="column7">
                                        <h:commandLink id="linkAction8" value="#{item.quantidadeVendida}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoQuantidade" title="Quantidade." value="Qntd"/>
                                        </f:facet>
                                    </ice:column>
                                    <f:facet name="header"/>
                                    <ice:column id="column8">
                                        <h:commandLink id="linkAction9" value="#{item.pesoCaixa}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoPesoCaixa" title="Peso da Caixa." value="Peso Caixa"/>
                                        </f:facet>
                                    </ice:column>
                                    <f:facet name="header"/>
                                    <ice:column id="column9">
                                        <h:commandLink id="linkAction10" value="#{item.quantidadeCaixas}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoQuantidadeCaixa" title="Quantidade de Caixas." value="Qntd Cxs"/>
                                        </f:facet>
                                    </ice:column>
                                    <ice:column id="column11">
                                        <h:commandLink id="linkAction11" value="#{item.itemPedidoAssociado.precoUnitario}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="outputText9" value="Preço (Kg)"/>
                                        </f:facet>
                                    </ice:column>
                                    <ice:column id="column13">
                                        <h:commandLink id="linkAction12" value="#{item.valorTotal}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="outputText14" value="Valor Total"/>
                                        </f:facet>
                                    </ice:column>
                                    <ice:column id="column12">
                                        <h:commandButton action="#{Vendas$Vendas.button1_action}" binding="#{Vendas$Vendas.button1}" id="button1" image="/resources/botaoTabelaExcluir.jpg"/>
                                        <f:facet name="header">
                                            <ice:outputText id="outputText10" value="Excluir"/>
                                        </f:facet>
                                    </ice:column>
                                </ice:dataTable>
                                <!-- Paginator da tabela Venda-->
                                <ice:dataPaginator fastStep="3" for="tabelaVenda" id="dataPaginatorVenda" immediate="true" paginator="true"
                                    paginatorMaxPages="5" style="left: 590px; top: 186px; position: absolute">
                                    <f:facet name="first">
                                        <ice:graphicImage style="border:none;" title="Primeira Página" url="./xmlhttp/css/xp/css-images/arrow-first.gif"/>
                                    </f:facet>
                                    <f:facet name="last">
                                        <ice:graphicImage style="border:none;" title="Última Página" url="./xmlhttp/css/xp/css-images/arrow-last.gif"/>
                                    </f:facet>
                                    <f:facet name="previous">
                                        <ice:graphicImage style="border:none;" title="Página Anterior" url="./xmlhttp/css/xp/css-images/arrow-previous.gif"/>
                                    </f:facet>
                                    <f:facet name="next">
                                        <ice:graphicImage style="border:none;" title="Próxima Página" url="./xmlhttp/css/xp/css-images/arrow-next.gif"/>
                                    </f:facet>
                                    <f:facet name="fastforward">
                                        <ice:graphicImage style="border:none;" title="Fast Forward" url="./xmlhttp/css/xp/css-images/arrow-ff.gif"/>
                                    </f:facet>
                                    <f:facet name="fastrewind">
                                        <ice:graphicImage style="border:none;" title="Fast Backwards" url="./xmlhttp/css/xp/css-images/arrow-fr.gif"/>
                                    </f:facet>
                                </ice:dataPaginator>
                                <ice:inputText action="#{Vendas$Vendas.campoValorVenda_action}" actionListener="#{Vendas$Vendas.campoValorVenda_processAction}"
                                    binding="#{Vendas$Vendas.campoValorVenda}" id="campoValorVenda" maxlength="10"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 550px; top: 528px; position: absolute; width: 230px" title="Insira o Valor da Venda."/>
                                <ice:inputText binding="#{Vendas$Vendas.campoValorTotalComissao}" converter="#{Vendas$Vendas.doubleConverter1}"
                                    id="campoValorTotalComissao" maxlength="10" onkeypress="mascara(this,mvalor);"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 550px; top: 552px; position: absolute; width: 230px;visibility: visible;"
                                    title="Insira o Valor Total da Comissão." visible="true"/>
                                <ice:inputText binding="#{Vendas$Vendas.campoValorVendaTotal}" id="campoValorVendaTotal" style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 550px; top: 576px; position: absolute; width: 230px"/>
                                <ice:panelLayout id="painelOpcoes" layout="flow" style="height: 46px; left: 0px; top: 0px; position: absolute; width: 980px; -rave-layout: grid">
                                    <ice:commandButton action="#{Vendas$Vendas.botaoNovo_action}" alt="Novo" binding="#{Vendas$Vendas.botaoNovo}" id="botaoNovo"
                                        image="/resources/botaoNovo.png" style="height: 45px; left: 168px; top: 0px; position: absolute; width: 64px"
                                        title="Novo" value="Novo"/>
                                    <ice:commandButton action="#{Vendas$Vendas.botaoConsultar_action}" alt="Consultar" binding="#{Vendas$Vendas.botaoConsultar}"
                                        id="botaoConsultar" image="/resources/botaoConsultar.png" immediate="true" partialSubmit="true"
                                        style="height: 45px; left: 240px; top: 0px; position: absolute; width: 64px" title="Consultar" value="Consultar"/>
                                    <ice:commandButton alt="Alterar" binding="#{Vendas$Vendas.botaoAlterar}" id="botaoAlterar"
                                        image="/resources/botaoAlterar.png" style="height: 45px; left: 312px; top: 0px; position: absolute; width: 64px"
                                        title="Alterar" value="Alterar"/>
                                    <ice:commandButton alt="Imprimir" binding="#{Vendas$Vendas.botaoImprimir}" id="botaoImprimir"
                                        image="/resources/botaoImprimir.png" style="height: 45px; left: 384px; top: 0px; position: absolute; width: 64px"
                                        title="Imprimir" value="Imprimir"/>
                                    <ice:commandButton action="#{Vendas$Vendas.botaoCadastrar1_action}" alt="Cadastrar"
                                        binding="#{Vendas$Vendas.botaoCadastrar1}" id="botaoCadastrar1" image="/resources/botaoSalvar.png"
                                        style="height: 45px; left: 456px; top: 0px; position: absolute; width: 64px" title="Salvar/Cadastrar" value="Cadastrar"/>
                                    <ice:commandButton action="#{Vendas$Vendas.botaoLimpar_action}" alt="Limpar" binding="#{Vendas$Vendas.botaoLimpar}"
                                        id="botaoLimpar" image="/resources/botaoLimpar.png"
                                        style="height: 45px; left: 528px; top: 0px; position: absolute; width: 64px" title="Limpar Campos" value="Limpar"/>
                                    <ice:commandButton action="#{Vendas$Vendas.botaoSair_action}" alt="Sair" binding="#{Vendas$Vendas.botaoSair}" id="botaoSair"
                                        image="/resources/botaoSair.png" immediate="true" partialSubmit="true"
                                        style="height: 45px; left: 912px; top: 0px; position: absolute; width: 64px" title="Sair" value="Sair"/>
                                </ice:panelLayout>
                            </ice:panelLayout>
                        </ice:panelGroup>
                    </ice:form>
                </ice:outputBody>
            </body>
        </ice:outputHtml>
    </f:view>
</jsp:root>
